package com.zretc.service;

import com.zretc.entity.Sales;

import java.util.List;
import java.util.Map;

public interface ComSaleService {

    /**
     * 获取顾客人数
     * @param sellerAccount
     * @return
     */
    Integer getCountSalesBySellerAccount(String sellerAccount);

    /**
     * 获取评论数量
     * @param sellerAccount
     * @return
     */
    Integer getCountCommentBySellerAccount(String sellerAccount);

    /**
     * 用于计算销售额
     * @param  param
     * @return
     */
    List<Map<String, Object>> getSalesBySellerAccount(Map<String,Object> param);
}
